package com.youku.expression.ast;

import com.youku.expression.Token;

public class OpMultiplyAst extends OpArithmeticAst {

	public OpMultiplyAst(Token op, Ast exp1, Ast exp2) {
		super(op, exp1, exp2);
	}

	@Override
	protected double compute(double a, double b) {
		return a*b;
	}

	@Override
	protected float compute(float a, float b) {
		return a*b;
	}

	@Override
	protected long compute(long a, long b) {
		return a*b;
	}

	@Override
	protected int compute(int a, int b) {
		return a*b;
	}

}
